//
//  TopMenuViewController.h
//  BosidengIphone
//
//  Created by  on 11-12-25.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TopMenuViewDelegate 
- (void)changeViewController:(NSInteger)index andTitle:(NSString *)title;
@end

@interface TopMenuViewController : UIViewController<UITableViewDataSource, UITableViewDelegate> {
    NSArray *topMenus;
    id<TopMenuViewDelegate> delegate;
    NSInteger selectRowId;
}

@property(strong, nonatomic)NSArray *topMenus;

@property(strong, nonatomic)id<TopMenuViewDelegate> delegate;

@property(strong, nonatomic)IBOutlet UITableView *menuList;

@property(strong, nonatomic)IBOutlet UIButton *chinaButton;
@property(strong, nonatomic)IBOutlet UIButton *taiwangButton;
@property(strong, nonatomic)IBOutlet UIButton *englishButton;

- (IBAction)closeTopMenu:(id)sender;

- (IBAction)changeLanguage:(id)sender;

@end
